package com.onesports.intelligent.k12.polarlight.domain.entity.course;

import com.baomidou.mybatisplus.annotation.TableName;
import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 班级拼班时段表
 *
 * @author clw
 * @date 2022-07-18 16:53:08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("spelling_class_period")
public class SpellingClassPeriod extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 班级Id
     */
    private String classInfoId;

    /**
     * 课表时段明细表Id
     */
    private String courseScheduleDetailId;
    /**
     * 1 未过期  2 已过期
     */
    private String status;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;

    private Date courseDate;

    private Boolean isCreateAttendance;

    /**
     * 班级拼班信息状态 2：待考勤   3：考勤中	 4：已考勤  5：作废
     */
    private String classAttendanceStatus;

    /**
     * 应到人数
     */
    private Integer dueNum;
    /**
     * 实到人数
     */
    private Integer actualNum;
    /**
     * 请假人数
     */
    private Integer absentNum;

    /**
     * 未到人数
     */
    private Integer leaveNum;

    /**
     * 状态变更原因
     */
    private String reason;

}
